#include <iostream>

int main()
{
    std::cout << "2M" << std::endl;
    std::cout << "2" << "\r\n" << "M" << std::endl;
}